package com.cyz.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cyz.mapper.PlaceMapper;
import com.cyz.pojo.Place;
import com.cyz.service.PlaceService;

/**
 * @author 陈雅珠
 * 考试区域服务层实现类
 */
@Service("placeServiceImpl")
public class PlaceServiceImpl implements PlaceService {

	@Resource(name="placeMapper")
	private PlaceMapper placeMapper;
	
	/**
	 * 通过区域名称获取考试区域对象
	 * @param area 区域名称
	 */
	@Override
	public List<Place> getPlaceByArea(String area) {
		return placeMapper.getPlaceByArea(area);
	}
	
}
